package com.tjetc.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tjetc.entity.BedInfo;
import com.tjetc.entity.ElderInfo;

import java.util.List;
import java.util.Map;

public interface BedInfoMapper extends BaseMapper<BedInfo> {
    Page<BedInfo> selectPageAll(Page<BedInfo> pageBedInfo);
    Page<BedInfo> selectPageWardID(Page<BedInfo> pageBedInfo,Integer id,Integer status);
    Long selectElderlyId(Long id);
    List<Map<String, Object>> selectElderMap();
    Long selectBedCountOccupy();
    Long selectBedCountNotOccupy();
    Long selectBedCountWard();
}
